a7d14eb7f8b994f31eee1e58425e03d3b3ac6c2b,src/main/java/org/alfresco/dataprep/ContentActions.java,ContentActions,removeAction,#String#String#String#String#ActionType#String#,199
Before Change
final String actionValue)
{
String optionNodeRef = "";
if (StringUtils.isEmpty(userName) || StringUtils.isEmpty(password) || StringUtils.isEmpty(siteName)
|| StringUtils.isEmpty(contentName) || StringUtils.isEmpty(actionValue))
{
throw new IllegalArgumentException("Parameter missing");
}
AlfrescoHttpClient client = alfrescoHttpClientFactory.getObject();
String contentNodeRef = getNodeRef(userName, password, siteName, contentName);
switch (optType)
{
case TAGS:
After Change
String optionNodeRef = "";
AlfrescoHttpClient client = alfrescoHttpClientFactory.getObject();
String nodeRef;
if(!repository)
{
nodeRef = getNodeRef(userName, password, siteName, contentName);
}
else
{
nodeRef = getNodeRefByPath(userName, password, pathToItem);
}
switch (optType)
{